package cn.maidouya.pay.service;


import cn.maidouya.basic.service.BaseService;
import cn.maidouya.pay.domain.PayBill;

public interface IPayBillService extends BaseService<PayBill> {
    /**
     *   调用统一支付接口
     * @param bill
     * @return
     */
    String pay(PayBill bill);

    /**
     *   统一支付订单
     * @param unionPaySn
     * @return
     */
    PayBill loadByUnionPaySn(String unionPaySn);

    void saveFlow(PayBill bill);
}
